﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RevitAddin
{
    /// <summary>
    /// 清册数据表的数据类
    /// </summary>
    public class CableData
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 电缆起点
        /// </summary>
        public string CableStart { get; set; }
        /// <summary>
        /// 电缆编号
        /// </summary>
        public string CableNumber { get; set; }
        /// <summary>
        /// 电缆终点
        /// </summary>
        public string CableEnd { get; set; }
       /// <summary>
       /// 是否为顶层
       /// </summary>
        public bool IsTop { get; set; }
        /// <summary>
        /// 是否为1-2层
        /// </summary>
        public bool IsOneTwo { get; set; }
        /// <summary>
        /// 是否为对侧
        /// </summary>
        public bool IsOpposite { get; set; }
        /// <summary>
        /// 是否为高压电缆
        /// </summary>
        public bool IsHighTensionCable { get; set; }

        public CableData(int Id,string cableStart, string cableNumber, string cableEnd, bool isTop, bool isOneTwo, bool isOpposite)
        {
                
            this.Id = Id;
            CableStart = cableStart;
            CableNumber = cableNumber;
            CableEnd = cableEnd;
                
            IsTop = isTop;
            IsOneTwo = isOneTwo;
            IsOpposite = isOpposite;

        }
    }

}
